package com.etc.pojo;

import java.io.Serializable;
import java.util.List;

public class Dept implements Serializable{
    private Integer id;

    private String dname;

    private String location;

    private Integer fid;
    private List<Emp> elist;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname == null ? null : dname.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public List<Emp> getElist() {
        return elist;
    }

    public void setElist(List<Emp> elist) {
        this.elist = elist;
    }
}